package com.roguedevelopment.objecthandles
{
   import flash.events.Event;

   public class ObjectChangedEvent extends Event
   {

       public static const OBJECT_MOVED:String = "objectMoved";
       public static const OBJECT_RESIZED:String = "objectResized";
       public static const OBJECT_ROTATED:String = "objectRotated";
       public static const COLLABORN_OBJECT_SELECTED:String = "collabornObjectSelected";
       public static const COLLABORN_OBJECT_UNSELECTED:String = "collabornObjectUnSelected";
       public static const COLLABORN_OBJECT_RESIZED:String = "collabornObjectResized";
       public static const COLLABORN_OBJECT_ROTATED:String = "collabornObjectRotated";
       public static const COLLABORN_OBJECT_MOVED:String = "collabornObjectMoved";
       public static const COLLABORN_Z_INDEX:String = "collabornZIndex";
       public static const COLLABORN_SELECTION_CLEARED:String = "collabornSlectionCleared";
       
       public static const COLLABORN_TEST_EVENT:String = "collabornTestEvent";
       
       /**
       * An array of objects that were moved/resized or rotated.
       **/
       public var relatedObjects:Array;

       public function ObjectChangedEvent(relatedObjects:Array, type:String,bubbles:Boolean=false, cancelable:Boolean=false)
       {
           super(type, bubbles, cancelable);
           this.relatedObjects = relatedObjects;
       }

   }
}
